angular.module('proSearchModule', [])
    .controller('searchCtrl', ['$scope','$location', function ($scope,$location) {
        $scope.submitSearch = function(e){
            $location.path('proList').search('search='+$scope.search);
        }
    }]);